﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CMS.Dialogs
{
    public partial class EditDutySpanDialog : Form
    {
        public string AssistantName
        {
            get { return TB_Name.Text; }
            set
            {
                TB_Name.Text = value;
            }
        }

        public int DutySpan
        {
            get { return (int)NUD_Span.Value; }
            set
            {
                NUD_Span.Value = value;
            }
        }

        public EditDutySpanDialog()
        {
            InitializeComponent();
        }

        private void Bn_Confirm_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
        }
    }
}
